package cn.cycleif.app.domain.vo;

import cn.cycleif.enums.ActionTypeEnum;
import cn.cycleif.enums.CommonStatusEnum;
import cn.cycleif.enums.InboxTypeEnum;
import cn.cycleif.enums.ObjectTypeEnum;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Map;

/**
 * @Date: 25/2/17-15:10
 * @Desc:
 */
@Data
public class NotificationVO {

  private Integer          id;
  private Integer          userId;
  private Integer          relateUserId;
  private Integer          objectId;
  private ObjectTypeEnum   objectType;
  private ActionTypeEnum   actionType;
  private InboxTypeEnum    type;
  private Integer          isRead;
  private CommonStatusEnum status;
  private String           content;

  private Map<String, Object> relateInfo;
  private Map<String, Object> objectInfo;

  private LocalDateTime createAt;
  private LocalDateTime updateAt;
}
